package GUI;

import java.awt.BorderLayout;
import java.awt.EventQueue;

import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
import javax.swing.JInternalFrame;
import javax.swing.JComboBox;
import javax.swing.JLabel;
import javax.swing.JTextField;
import javax.swing.JButton;

public class MenuAdministrador extends JFrame {

	private JPanel contentPane;
	private JTextField txtpergunta;
	private JTextField textField;
	private JTextField textField_1;
	private JTextField textField_2;
	private JTextField textField_3;

	/**
	 * Launch the application.
	 */
	public static void main(String[] args) {
		EventQueue.invokeLater(new Runnable() {
			public void run() {
				try {
					MenuAdministrador frame = new MenuAdministrador();
					frame.setVisible(true);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
	}

	/**
	 * Create the frame.
	 */
	public MenuAdministrador() {
		setTitle("<Menu.Administrador>");
		setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		setBounds(100, 100, 800, 600);
		contentPane = new JPanel();
		contentPane.setBorder(new EmptyBorder(5, 5, 5, 5));
		setContentPane(contentPane);
		contentPane.setLayout(null);
		
		JInternalFrame internalFrame = new JInternalFrame("Perguntas");
		internalFrame.setBounds(0, 0, 583, 388);
		contentPane.add(internalFrame);
		internalFrame.getContentPane().setLayout(null);
		
		JComboBox comboBox = new JComboBox();
		comboBox.setBounds(72, 25, 133, 20);
		internalFrame.getContentPane().add(comboBox);
		
		JLabel lblCodigo = new JLabel("Codigo:");
		lblCodigo.setBounds(10, 28, 52, 14);
		internalFrame.getContentPane().add(lblCodigo);
		
		JLabel lblPergunta = new JLabel("Pergunta:");
		lblPergunta.setBounds(10, 70, 52, 20);
		internalFrame.getContentPane().add(lblPergunta);
		
		JLabel lblAlternativa = new JLabel("Alternativa1");
		lblAlternativa.setBounds(10, 118, 59, 20);
		internalFrame.getContentPane().add(lblAlternativa);
		
		JLabel lblAlternativa_1 = new JLabel("Alternativa2");
		lblAlternativa_1.setBounds(10, 166, 59, 20);
		internalFrame.getContentPane().add(lblAlternativa_1);
		
		JLabel lblAlternativa_2 = new JLabel("Alternativa3");
		lblAlternativa_2.setBounds(10, 214, 74, 20);
		internalFrame.getContentPane().add(lblAlternativa_2);
		
		txtpergunta = new JTextField();
		txtpergunta.setBounds(72, 70, 472, 20);
		internalFrame.getContentPane().add(txtpergunta);
		txtpergunta.setColumns(10);
		
		JLabel lblAlternativa4 = new JLabel("Alternativa4");
		lblAlternativa4.setBounds(10, 262, 59, 20);
		internalFrame.getContentPane().add(lblAlternativa4);
		
		textField = new JTextField();
		textField.setBounds(72, 118, 472, 20);
		internalFrame.getContentPane().add(textField);
		textField.setColumns(10);
		
		textField_1 = new JTextField();
		textField_1.setBounds(72, 166, 472, 20);
		internalFrame.getContentPane().add(textField_1);
		textField_1.setColumns(10);
		
		textField_2 = new JTextField();
		textField_2.setBounds(72, 214, 472, 20);
		internalFrame.getContentPane().add(textField_2);
		textField_2.setColumns(10);
		
		textField_3 = new JTextField();
		textField_3.setBounds(72, 262, 472, 20);
		internalFrame.getContentPane().add(textField_3);
		textField_3.setColumns(10);
		
		JButton btnCadastrar = new JButton("Cadastrar");
		btnCadastrar.setBounds(75, 311, 89, 23);
		internalFrame.getContentPane().add(btnCadastrar);
		
		JButton btnExcluir = new JButton("Excluir");
		btnExcluir.setBounds(239, 311, 89, 23);
		internalFrame.getContentPane().add(btnExcluir);
		
		JButton btnLimpar = new JButton("Limpar");
		btnLimpar.setBounds(403, 311, 89, 23);
		internalFrame.getContentPane().add(btnLimpar);
		internalFrame.setVisible(true);
	}

}
